package cn.lijian.goods.order.domain;

import java.util.List;

import cn.lijian.goods.user.domain.User;

public class Order {
	private String oid;
	private String ordertime;// 下单时间
	private double total;
	private int status;// 订单状态 ， 1 未付款 2 已付款未发货 3已发货但未确认收货 4确认收货
						// 5已取消（只有未付款才可以取消）
	private String address;// 收货地址
	private User owner;// 订单所有者
	private List<OrderItem> orderItemList;

	public List<OrderItem> getOrderItemList() {
		return orderItemList;
	}

	public void setOrderItemList(List<OrderItem> orderItemList) {
		this.orderItemList = orderItemList;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getOrdertime() {
		return ordertime;
	}

	public void setOrdertime(String ordertime) {
		this.ordertime = ordertime;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int statue) {
		this.status = statue;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public User getOwner() {
		return owner;
	}

	public void setOwner(User owner) {
		this.owner = owner;
	}

	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}

}
